<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			@keyframes myanim{
				from{ width: 100px;}
				to{width: 300px;}
			}
			
			@keyframes bganim{
				0%   {background: red;}
				25%  {background: yellow;}
				50%  {background: blue;}
				100% {background: green;}
			}
			
			div {
				width: 100px;
				height: 100px;
				background-color: #000000;
			}
			
			div:hover {
				animation: myanim 2s ease-in-out;
				width: 100px;
				height: 100px;
				background-color: #000000;
			}
			
			
		</style>
	</head>
	<body>
		<div>
			
		</div>
	</body>
</html>
